import json
from flask import (
    Blueprint, render_template
)

from db import mysql_helper
from flask import current_app as app

blog_ctrl = Blueprint('blog', __name__, url_prefix='/blog')


@blog_ctrl.route('/society', methods=['GET'])
def society_news():
    """
    forward to society news page
    :return: society news page
    """
    return 'society news'


@blog_ctrl.route('/tech', methods=['GET'])
def tech_news():
    """
    forward to tech news page
    :return: tech news page
    """
    return 'tech news'

